home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3n / publickey.z / publickey
Encoding:
Text File  |  1998-10-20  |  4.0 KB  |  66 lines

  1.  
  2.  
  3.  
  4. ppppuuuubbbblllliiiicccckkkkeeeeyyyy((((3333NNNN))))                                                    ppppuuuubbbblllliiiicccckkkkeeeeyyyy((((3333NNNN))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _pppp_uuuu_bbbb_llll_iiii_cccc_kkkk_eeee_yyyy: _gggg_eeee_tttt_pppp_uuuu_bbbb_llll_iiii_cccc_kkkk_eeee_yyyy, _gggg_eeee_tttt_ssss_eeee_cccc_rrrr_eeee_tttt_kkkk_eeee_yyyy - retrieve public or secret key
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_rrrr_pppp_cccc_////_rrrr_pppp_cccc_...._hhhh_>>>>
  13.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_rrrr_pppp_cccc_////_kkkk_eeee_yyyy______pppp_rrrr_oooo_tttt_...._hhhh_>>>>
  14.      _gggg_eeee_tttt_pppp_uuuu_bbbb_llll_iiii_cccc_kkkk_eeee_yyyy_((((_cccc_oooo_nnnn_ssss_tttt _cccc_hhhh_aaaa_rrrr _nnnn_eeee_tttt_nnnn_aaaa_mmmm_eeee_[[[[_MMMM_AAAA_XXXX_NNNN_EEEE_TTTT_NNNN_AAAA_MMMM_EEEE_LLLL_EEEE_NNNN_]]]]_,,,,
  15.           _cccc_hhhh_aaaa_rrrr _pppp_uuuu_bbbb_llll_iiii_cccc_kkkk_eeee_yyyy_[[[[_HHHH_EEEE_XXXX_KKKK_EEEE_YYYY_BBBB_YYYY_TTTT_EEEE_SSSS_]]]]_))))_;;;;
  16.      _gggg_eeee_tttt_ssss_eeee_cccc_rrrr_eeee_tttt_kkkk_eeee_yyyy_((((_cccc_oooo_nnnn_ssss_tttt _cccc_hhhh_aaaa_rrrr _nnnn_eeee_tttt_nnnn_aaaa_mmmm_eeee_[[[[_MMMM_AAAA_XXXX_NNNN_EEEE_TTTT_NNNN_AAAA_MMMM_EEEE_LLLL_EEEE_NNNN_]]]]_,,,,
  17.           _cccc_hhhh_aaaa_rrrr _ssss_eeee_cccc_rrrr_eeee_tttt_kkkk_eeee_yyyy_[[[[_HHHH_EEEE_XXXX_KKKK_EEEE_YYYY_BBBB_YYYY_TTTT_EEEE_SSSS_]]]]_,,,, _cccc_oooo_nnnn_ssss_tttt _cccc_hhhh_aaaa_rrrr _****_pppp_aaaa_ssss_ssss_wwww_dddd_))))_;;;;
  18.  
  19. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  20.      _gggg_eeee_tttt_pppp_uuuu_bbbb_llll_iiii_cccc_kkkk_eeee_yyyy and _gggg_eeee_tttt_ssss_eeee_cccc_rrrr_eeee_tttt_kkkk_eeee_yyyy get public and secret keys for _n_e_t_n_a_m_e from
  21.      the _pppp_uuuu_bbbb_llll_iiii_cccc_kkkk_eeee_yyyy(4) database.
  22.  
  23.      _gggg_eeee_tttt_ssss_eeee_cccc_rrrr_eeee_tttt_kkkk_eeee_yyyy has an extra argument, _p_a_s_s_w_d, used to decrypt the encrypted
  24.      secret key stored in the database.
  25.  
  26.      Both routines return _1111 if they are successful in finding the key, _0000
  27.      otherwise.  The keys are returned as NULL-terminated, hexadecimal
  28.      strings.  If the password supplied to _gggg_eeee_tttt_ssss_eeee_cccc_rrrr_eeee_tttt_kkkk_eeee_yyyy fails to decrypt the
  29.      secret key, the routine will return _1111 but the _s_e_c_r_e_t_k_e_y argument will be
  30.      a NULL string.
  31.  
  32. NNNNOOOOTTTTEEEE
  33.      These routines are not supported, and no actual encryption or decryption
  34.      is done.
  35.  
  36. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  37.      secure_rpc(3N)
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.                                                                         PPPPaaaaggggeeee 1111
  63.  
  64.  
  65.  
  66.